package org.csu.sei.entity.DTO;

import org.csu.sei.entity.TeacherInfo;
import org.springframework.beans.factory.annotation.Value;

public class FrontTeacherInfo {
    private Long id;
    @Value(value = "hello")
    private String img;
    private String name;
    private String employeeNumber;
    private String jobTitle;
    private int sex;
    private String contactInformation;
    private String position;
    private String degree;
    private String organization;
    private String location;
    private String direction;
    private String introduction;
    private String scientificResearch;
    private String paper;
    private String honour;
    private String teaching;

    public FrontTeacherInfo(){}
    public FrontTeacherInfo(TeacherInfo teacherInfo){
        this.id=teacherInfo.getId();
        this.img=teacherInfo.getImg();
        this.name=teacherInfo.getName();
        this.employeeNumber=teacherInfo.getEmployeeNumber();
        this.jobTitle=teacherInfo.getJobTitle();
        this.sex=teacherInfo.getSex();
        this.contactInformation=teacherInfo.getContactInformation();
    }
}
